package com.boot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * Created  on 2018/7/5 10:51.
 * 作者: Dengjb
 * 说明:
 */
@Controller
public  class FtlController {
	@RequestMapping("/indexftl")
	public String mongo(Map<String,Object> map){
		map.put("name","lucy");
		map.put("user","用户");
		return  "index";
	}
	@RequestMapping("/index")
	public String index(){

		return  "index";
	}

}
